import I.I;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.Hashtable;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;

public class Main
{
  public static GUI I;
  public static GUI2 Z;
  private static String[] KKLI = { "Direction", "GUI", "GUI$1", "GUI$2", "GUI$3", "GUI$4", "GUI$5", "GUI$6", "GUI$7", "GUI$8", "GUI$9", "GUI$10", "GUI$11", "GUI$12", "GUI$13", "GUI$14", "GUI$15", "GUI$16", "GUI$17", "GUI$18", "GUI$19", "GUI$20", "GUI$21", "GUI$22", "GUI2", "GUI2$1", "HBThread", "Item", "ItemDeleter", "ItemSet", "ItemSpawner", "Main", "MCThread", "MCUtils", "Status", "Teleport", "Type" };

  public static final void main(String[] paramArrayOfString)
  {
    I.Z();
    KKLI();
    gg localgg = MCUtils.I();
    I = new GUI(localgg);
    Z = new GUI2();
    I.setVisible(true);
    Z.setVisible(false);
    new HBThread(I);
    SEVERE();
  }

  private static void KKLI()
  {
    File localFile1 = new File(I.I(), "bin");
    if (!localFile1.exists())
    {
      JOptionPane.showMessageDialog(null, "Please run Minecraft at least one time before using MCCheat.", "MCCheat", 2);
      System.exit(0);
    }
    File localFile2 = new File(localFile1, "natives");
    System.setProperty("net.java.games.input.librarypath", localFile2.getAbsolutePath());
    System.setProperty("org.lwjgl.librarypath", localFile2.getAbsolutePath());
    URLClassLoader localURLClassLoader = (URLClassLoader)ClassLoader.getSystemClassLoader();
    Method localMethod = URLClassLoader.class.getDeclaredMethod("addURL", new Class[] { URL.class });
    localMethod.setAccessible(true);
    Field localField = ClassLoader.class.getDeclaredField("package2certs");
    localField.setAccessible(true);
    Hashtable localHashtable = (Hashtable)localField.get(localURLClassLoader);
    for (File localFile3 : localFile1.listFiles())
      localMethod.invoke(localURLClassLoader, new Object[] { localFile3.toURL() });
    localHashtable.remove("");
    Class.forName("gg");
    localHashtable.remove("");
    for (int i = 0; i < KKLI.length; i++)
      Class.forName(KKLI[i]);
    localHashtable.remove("");
  }

  private static void SEVERE()
  {
    BufferedReader localBufferedReader = null;
    try
    {
      URL localURL = new URL("http://www.mccheat.net/mccheat/news.php");
      localBufferedReader = new BufferedReader(new InputStreamReader(localURL.openStream()));
      String str = "";
      while ((str = localBufferedReader.readLine()) != null)
        JOptionPane.showMessageDialog(null, str);
      localBufferedReader.close();
    }
    catch (IOException localIOException3)
    {
      Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, localIOException2);
    }
    finally
    {
      try
      {
        localBufferedReader.close();
      }
      catch (IOException localIOException4)
      {
        Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, localIOException4);
      }
    }
  }
}

/* Location:           C:\Users\Administrator\Desktop\MCCheat_1.9\
 * Qualified Name:     Main
 * JD-Core Version:    0.6.0
 */